<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="org.springframework.web.client.RestTemplate" %>
<%@page import="com.inforim.utils.ConfigUtils"%>
<%@ page import="java.sql.*"%>
<%@page import="java.util.Date"%>
<%@page import="java.text.SimpleDateFormat"%>
<%
	boolean hasCache=session.getAttribute("hasCache")==null?false:(Boolean)session.getAttribute("hasCache");
	String referer=request.getHeader("Referer");
	session.setAttribute("hasCache", true);
	boolean interNet=false;	//是否外网
	request.setAttribute("context", request.getContextPath());
	String context=(String)request.getContextPath();
	RestTemplate restTemplate = new RestTemplate();
	int allCount = 0;
	if(!interNet){
		
	try { 
		//装载SQL数据库驱动
		String driver=ConfigUtils.props.getProperty("sugg.driver");
		Class.forName(driver);
		String url = ConfigUtils.props.getProperty("sugg.url");
		String user = ConfigUtils.props.getProperty("sugg.user");
		String password = ConfigUtils.props.getProperty("sugg.password");
		Connection con = DriverManager.getConnection(url, user,password);
		
		Date date = new Date();
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
		String sDate = sdf.format(date);
		if(referer==null&&!hasCache){
			String creat_sql = "INSERT INTO tmn.case_view_times (view_count,view_date) VALUES(1,'"+sDate+"')";
			PreparedStatement ps1 = con.prepareStatement(creat_sql);
			ps1.executeUpdate();
			ps1.close();
		}
		String sql = "SELECT sum(view_count) c FROM tmn.case_view_times";
		PreparedStatement ps2 = con.prepareStatement(sql);
		ResultSet rs = ps2.executeQuery();
		
		while(rs.next()){
			allCount = rs.getInt("c");
		}
		ps2.close();
		con.close();
	} catch (SQLException e) {
		e.printStackTrace();
	}

	}
	out.clear();
	//if(null != 
	//request.getCookies()) {
	//	for(Cookie c : 
	//		request.getCookies()) {
	//		// System.out.println("cookie = " + c.getName() + ", " + c.getValue());
	//	}
	//}
	String title = "办案数据关联检索";
	// response.addHeader("P3P","CP=\"CAO PSA OUR\"");
%><!doctype html>
<html lang="us">
<head>
	<meta charset="utf-8">
	<title><%=title%></title>
	<link rel="stylesheet" href="css/search.css?_=<%=System.currentTimeMillis() %>" />
	<script type="text/javascript">
		var isOaOk = function() { return true; }
		var getQ = function() {window.open('http://203.130.112.13/tools/yb/','_blank');}
		var getQ2 = function() {window.open('http://203.0.64.206:8652/tools.aspx','_blank');}
		var getVidio = function() {window.open('http://203.0.32.111/index_6748.html','_blank');}
	</script>
</head>
	<%if(!interNet){ %>
	<%@ include file="./iSuggestion.jsp" %>
	<%}%>
<body class="vp">
	<div class="welcome">
		<%if(session.getAttribute("UserID")!=null) {%>
			欢迎，<%=session.getAttribute("UserID") %>!
		<%} %>
	</div>
	<div class="sb">
		<div class="b"><form action="" method="get" onkeydown="if(event.keyCode==13)return false;" id="queryForm">
			<div class="backMap"></div>
			<div class="n">
				&nbsp;
			</div>
			<div class="c">
					<ul class="cn">
						<!-- 
						<li class="docs"><a tabindex="-1" href="#">案件</a></li>
						 -->
						<li><a href="?k=elscpws&q=" style="color:#00A48B;" class="x">案件</a></li>
						<li class="pages"><a tabindex="-1" href="#">网页</a></li>
						<li class="population"><a tabindex="-1" href="#">人口</a></li>
						<!--
						<li class="practical"><a tabindex="-1" href="#">实用信息</a></li>
						-->
						<li class="typical"><a tabindex="-1" href="#">典型案例</a></li>
						<li class="manual"><a tabindex="-1" href="#">实务手册</a></li>
						<li class="lawsRegulations"><a tabindex="-1" href="#">法律法规</a></li>
						<li class="associated"><a tabindex="-1" href="#">关联案件</a></li>
						<li class="video"><a tabindex="-1" href="#">视频</a></li>
						<li class="achievement"><a tabindex="-1" href="#">业绩档案</a></li>
						<li class="report"><a tabindex="-1" href="#">报表</a></li>
						<!-- 
						<li class="docs"><a tabindex="-1" href="#">案件(原)</a></li>
						<li class="alipay"><a tabindex="-1" href="#">支付宝</a></li>
						 -->
						<!--
						<li class="assisttool"><a tabindex="-1" href="#">辅助工具</a></li>  
						-->
						<li class="more"><a tabindex="-1" href="#">更多&gt;&gt;</a></li>
					</ul>
			</div>
			<div class="d">
					<div class="menubar" style="width:1024px;line-height:24px;position:relative; z-index:20;">
						<%
							String q1 = request.getParameter("q");
							String k1 = request.getParameter("k");
							if(null == q1 || "".equals(q1)){
								if("docs".equals(k1)){
						%>
									<div id="menu">
									<a href="?k=elscpws&q=" style="color:#00A48B;" class="x">案件</a><span>   </span>
									<a href="?k=pages&q=" style="color:#00A48B;" class="x">网页</a><span>   </span>
									<a href="?k=population&q=" style="color:#00A48B;" class="x">人口</a><span>   </span>
									<!--
									<a href="http://203.130.112.13/tools/yb/" style="color:#00A48B;" class="x" target="_blank">实用信息</a><span>   </span>
									-->
									<a href="?k=typical&q=" style="color:#00A48B;" class="x">典型案例</a><span>   </span>
									<a href="?k=manual&q=" style="color:#00A48B;" class="x">实务手册</a><span>   </span>
									<a href="?k=lawsRegulations&q=" style="color:#00A48B;" class="x">法律法规</a><span>   </span>
									<!-- 
									<a href="?k=video&q=" style="color:#00A48B;" class="x">视频</a><span>   </span>
									 -->
									<a href="http://203.0.32.111/index_6989.html" style="color:#00A48B;" class="x" target="_blank">视频</a><span>   </span>
									<a href="?k=achievement&q=" style="color:#00A48B;" class="x">业绩档案</a><span>   </span>
									<a href="?k=paper&q=" style="color:#00A48B;" class="x">法院报</a><span>   </span>
									<!-- 
									<a href="?k=alipay&q=" style="color:#00A48B;" class="x">支付宝</a><span>   </span>
									 -->
									<a style="color:black;" class="x"><b>案件(原)</b></a><span>   </span>
									</div>
									<div id="more">
									<a href="?k=associated&q=" style="color:#00A48B;" class="x">关联案件</a><span>   </span>
									<!--
									<a href="http://203.0.64.206:8652/tools.aspx" style="color:#00A48B;" class="x" target="_blank">辅助工具</a><span>   </span>
									-->
									</div>
									 <div id="menubutton">
									<a href="#" style="color:#00A48B;" class="x" onclick="more();">更多&gt;&gt;</a>
									</div>
						<%		}else if("pages".equals(k1)){%>
									<div id="menu">
									<!--  
									<a href="?k=docs&q=" style="color:#00A48B;" class="x">案件</a><span>   </span>
									-->
									<a href="?k=elscpws&q=" style="color:#00A48B;" class="x">案件</a><span>   </span>
									<a style="color:black;" class="x"><b>网页</b></a><span>   </span>
									<a href="?k=population&q=" style="color:#00A48B;" class="x">人口</a><span>   </span>
									<!--
									<a href="http://203.130.112.13/tools/yb/" style="color:#00A48B;" class="x" target="_blank">实用信息</a><span>   </span>
									-->
									<a href="?k=typical&q=" style="color:#00A48B;" class="x">典型案例</a><span>   </span>
									<a href="?k=manual&q=" style="color:#00A48B;" class="x">实务手册</a><span>   </span>
									<a href="?k=lawsRegulations&q=" style="color:#00A48B;" class="x">法律法规</a><span>   </span>
									<!--  <a href="?k=video&q=" style="color:#00A48B;" class="x">视频</a><span>   </span>-->
									<a href="http://203.0.32.111/index_6989.html" style="color:#00A48B;" class="x" target="_blank">视频</a><span>   </span>
									<a href="?k=achievement&q=" style="color:#00A48B;" class="x">业绩档案</a><span>   </span>
									<a href="?k=paper&q=" style="color:#00A48B;" class="x">法院报</a><span>   </span>
									
									<a href="?k=alipay&q=" style="color:#00A48B;" class="x">支付宝</a><span>   </span>
									</div>
									<div id="more">
									<!-- 
									<a href="?k=docs&q=" style="color:#00A48B;" class="x">案件(原)</a><span>   </span>
									 -->
									<a href="?k=report&q=" style="color:#00A48B;" class="x">报表</a><span>   </span>
									<a href="?k=associated&q=" style="color:#00A48B;" class="x">关联案件</a><span>   </span>
									<!--
									<a href="http://203.0.64.206:8652/tools.aspx" style="color:#00A48B;" class="x" target="_blank">辅助工具</a><span>   </span>
									--></div>
									 <div id="menubutton">
									<a href="#" style="color:#00A48B;" class="x" onclick="more();">更多&gt;&gt;</a>
									</div>
						<%		}else if("population".equals(k1)){%>
									<div id="menu">
									<!-- 
									<a href="?k=docs&q=" style="color:#00A48B;" class="x">案件</a><span>   </span>
									 -->
									<a href="?k=elscpws&q=" style="color:#00A48B;" class="x">案件</a><span>   </span>
									<a href="?k=pages&q=" style="color:#00A48B;" class="x">网页</a><span>   </span>
									<a style="color:black;" class="x"><b>人口</b></a><span>   </span>
									<!--
									<a href="http://203.130.112.13/tools/yb/" style="color:#00A48B;" class="x" target="_blank">实用信息</a><span>   </span>
									-->
									<a href="?k=typical&q=" style="color:#00A48B;" class="x">典型案例</a><span>   </span>
									<a href="?k=manual&q=" style="color:#00A48B;" class="x">实务手册</a><span>   </span>
									<a href="?k=lawsRegulations&q=" style="color:#00A48B;" class="x">法律法规</a><span>   </span>
									<!-- <a href="?k=video&q=" style="color:#00A48B;" class="x">视频</a><span>   </span>-->
									<a href="http://203.0.32.111/index_6989.html" style="color:#00A48B;" class="x" target="_blank">视频</a><span>   </span>
									<a href="?k=achievement&q=" style="color:#00A48B;" class="x">业绩档案</a><span>   </span>
									<a href="?k=paper&q=" style="color:#00A48B;" class="x">法院报</a><span>   </span>
									<a href="?k=alipay&q=" style="color:#00A48B;" class="x">支付宝</a><span>   </span>
									</div>
									<div id="more">
									<!--  
									<a href="?k=docs&q=" style="color:#00A48B;" class="x">案件(原)</a><span>   </span>
									-->
									
									<a href="?k=report&q=" style="color:#00A48B;" class="x">报表</a><span>   </span>
									<a href="?k=associated&q=" style="color:#00A48B;" class="x">关联案件</a><span>   </span>
									<!--
									<a href="http://203.0.64.206:8652/tools.aspx" style="color:#00A48B;" class="x" target="_blank">辅助工具</a><span>   </span>
									-->
									</div>
									 <div id="menubutton">
									<a href="#" style="color:#00A48B;" class="x" onclick="more();">更多&gt;&gt;</a>
									</div>
						<%		}else if("associated".equals(k1)){%>
									<div id="menu">
									<!-- 
									<a href="?k=docs&q=" style="color:#00A48B;" class="x">案件</a><span>   </span>
									 -->
									<a href="?k=elscpws&q=" style="color:#00A48B;" class="x">案件</a><span>   </span>
									<a href="?k=pages&q=" style="color:#00A48B;" class="x">网页</a><span>   </span>
									<a href="?k=population&q=" style="color:#00A48B;" class="x">人口</a><span>   </span>
									<!--
									<a href="http://203.130.112.13/tools/yb/" style="color:#00A48B;" class="x" target="_blank">实用信息</a><span>   </span>
									-->
									<a href="?k=typical&q=" style="color:#00A48B;" class="x">典型案例</a><span>   </span>
									<a href="?k=manual&q=" style="color:#00A48B;" class="x">实务手册</a><span>   </span>
									<a href="?k=lawsRegulations&q=" style="color:#00A48B;" class="x">法律法规</a><span>   </span>
									<!--  <a href="?k=video&q=" style="color:#00A48B;" class="x">视频</a><span>   </span>-->
									<a href="http://203.0.32.111/index_6989.html" style="color:#00A48B;" class="x" target="_blank">视频</a><span>   </span>
									<a href="?k=achievement&q=" style="color:#00A48B;" class="x">业绩档案</a><span>   </span>
									<a href="?k=paper&q=" style="color:#00A48B;" class="x">法院报</a><span>   </span>
									
									<a href="?k=alipay&q=" style="color:#00A48B;" class="x">支付宝</a><span>   </span>
									</div>
									<div id="more" style="display:block;">
									<!--  
									<a href="?k=docs&q=" style="color:#00A48B;" class="x">案件(原)</a><span>   </span>
									-->
									
									<a href="?k=report&q=" style="color:#00A48B;" class="x">报表</a><span>   </span>
									<a href="?k=associated&q=" style="color:black;" class="x"><b>关联案件</b></a><span>   </span>
									<!--
									<a href="http://203.0.64.206:8652/tools.aspx" style="color:#00A48B;" class="x" target="_blank">辅助工具</a><span>   </span>
									-->
									</div>
									 <div id="menubutton" style="display:none;">
									<a href="#" style="color:#00A48B;" class="x" onclick="more();">更多&gt;&gt;</a>
									</div>
						<%		}else if("video".equals(k1)){%>
									<div id="menu">
									<!-- 
									<a href="?k=docs&q=" style="color:#00A48B;" class="x">案件</a><span>   </span>
									 -->
									<a href="?k=elscpws&q=" style="color:#00A48B;" class="x">案件</a><span>   </span>
									<a href="?k=pages&q=" style="color:#00A48B;" class="x">网页</a><span>   </span>
									<a href="?k=population&q=" style="color:#00A48B;" class="x">人口</a><span>   </span>
									<!--
									<a href="http://203.130.112.13/tools/yb/" style="color:#00A48B;" class="x" target="_blank">实用信息</a><span>   </span>
									-->
									<a href="?k=typical&q=" style="color:#00A48B;" class="x">典型案例</a><span>   </span>
									<a href="?k=manual&q=" style="color:#00A48B;" class="x">实务手册</a><span>   </span>
									<a href="?k=lawsRegulations&q=" style="color:#00A48B;" class="x">法律法规</a><span>   </span>
									<a href="http://203.0.32.111/index_6989.html" style="color:black;" class="x"><b>视频</b></a><span>   </span>
									<a href="?k=achievement&q=" style="color:#00A48B;" class="x">业绩档案</a><span>   </span>
									<a href="?k=paper&q=" style="color:#00A48B;" class="x">法院报</a><span>   </span>
									
									<a href="?k=alipay&q=" style="color:#00A48B;" class="x">支付宝</a><span>   </span>
									</div>
									<div id="more" style="display:hidden;">
									<!-- 
									<a href="?k=docs&q=" style="color:#00A48B;" class="x">案件(原)</a><span>   </span>
									-->
									
									<a href="?k=report&q=" style="color:#00A48B;" class="x">报表</a><span>   </span>
									<a href="?k=associated&q=" style="color:#00A48B;" class="x">关联案件</a><span>   </span>
									<!--
									<a href="http://203.0.64.206:8652/tools.aspx" style="color:#00A48B;" class="x" target="_blank">辅助工具</a><span>   </span>
									-->
									</div>
									 <div id="menubutton">
									<a href="#" style="color:#00A48B;" class="x" onclick="more();">更多&gt;&gt;</a>
									</div>
						<%		}else if("achievement".equals(k1)){%>
									<div id="menu">
									<!-- 
									<a href="?k=docs&q=" style="color:#00A48B;" class="x">案件</a><span>   </span>
									 -->
									<a href="?k=elscpws&q=" style="color:#00A48B;" class="x">案件</a><span>   </span>
									<a href="?k=pages&q=" style="color:#00A48B;" class="x">网页</a><span>   </span>
									<a href="?k=population&q=" style="color:#00A48B;" class="x">人口</a><span>   </span>
									<!--
									<a href="http://203.130.112.13/tools/yb/" style="color:#00A48B;" class="x" target="_blank">实用信息</a><span>   </span>
									-->
									<a href="?k=typical&q=" style="color:#00A48B;" class="x">典型案例</a><span>   </span>
									<a href="?k=manual&q=" style="color:#00A48B;" class="x">实务手册</a><span>   </span>
									<a href="?k=lawsRegulations&q=" style="color:#00A48B;" class="x">法律法规</a><span>   </span>
									<!-- <a href="?k=video&q=" style="color:#00A48B;" class="x">视频</a><span>   </span>-->
									<a href="http://203.0.32.111/index_6989.html" style="color:#00A48B;" class="x" target="_blank">视频</a><span>   </span>
									
									<a style="color:black;" class="x"><b>业绩档案</b></a><span>   </span>
									<a href="?k=paper&q=" style="color:#00A48B;" class="x">法院报</a><span>   </span>
									<a href="?k=alipay&q=" style="color:#00A48B;" class="x">支付宝</a><span>   </span>
									</div>
									<div id="more" style="display:hidden;">
									<!-- 
									<a href="?k=docs&q=" style="color:#00A48B;" class="x">案件(原)</a><span>   </span>
									-->
									
									<a href="?k=report&q=" style="color:#00A48B;" class="x">报表</a><span>   </span>
									<a href="?k=associated&q=" style="color:#00A48B;" class="x">关联案件</a><span>   </span>
									<!--
									<a href="http://203.0.64.206:8652/tools.aspx" style="color:#00A48B;" class="x" target="_blank">辅助工具</a><span>   </span>
									-->
									</div>
									 <div id="menubutton">
									<a href="#" style="color:#00A48B;" class="x" onclick="more();">更多&gt;&gt;</a>
									</div>
						<%		}else if("typical".equals(k1)){%>
									<div id="menu">
									<!-- 
									<a href="?k=docs&q=" style="color:#00A48B;" class="x">案件</a><span>   </span>
									 -->
									<a href="?k=elscpws&q=" style="color:#00A48B;" class="x">案件</a><span>   </span>
									<a href="?k=pages&q=" style="color:#00A48B;" class="x">网页</a><span>   </span>
									<a href="?k=population&q="style="color:#00A48B;" class="x">人口</a><span>   </span>
									<!--
									<a href="http://203.130.112.13/tools/yb/" style="color:#00A48B;" class="x" target="_blank">实用信息</a><span>   </span>
									-->
									<a style="color:black;" class="x"><b>典型案例</b></a><span>   </span>
									<a href="?k=manual&q=" style="color:#00A48B;" class="x">实务手册</a><span>   </span>
									<a href="?k=lawsRegulations&q=" style="color:#00A48B;" class="x">法律法规</a><span>   </span>
									<!-- <a href="?k=video&q=" style="color:#00A48B;" class="x">视频</a><span>   </span>-->
									<a href="http://203.0.32.111/index_6989.html" style="color:#00A48B;" class="x" target="_blank">视频</a><span>   </span>
									<a href="?k=achievement&q=" style="color:#00A48B;" class="x">业绩档案</a><span>   </span>
									<a href="?k=paper&q=" style="color:#00A48B;" class="x">法院报</a><span>   </span>
									<a href="?k=alipay&q=" style="color:#00A48B;" class="x">支付宝</a><span>   </span>
									</div>
									<div id="more" style="display:hidden;">
									<!-- 
									<a href="?k=docs&q=" style="color:#00A48B;" class="x">案件(原)</a><span>   </span>
									-->
									
									<a href="?k=report&q=" style="color:#00A48B;" class="x">报表</a><span>   </span>
									<a href="?k=associated&q=" style="color:#00A48B;" class="x">关联案件</a><span>   </span>
									<!--
									<a href="http://203.0.64.206:8652/tools.aspx" style="color:#00A48B;" class="x" target="_blank">辅助工具</a><span>   </span>
									-->
									</div>
									 <div id="menubutton">
									<a href="#" style="color:#00A48B;" class="x" onclick="more();">更多&gt;&gt;</a>
									</div>
						<%	}else if("manual".equals(k1)){%>
									<div id="menu">
									<!-- 
									<a href="?k=docs&q=" style="color:#00A48B;" class="x">案件</a><span>   </span>
									 -->
									<a href="?k=elscpws&q=" style="color:#00A48B;" class="x">案件</a><span>   </span>
									<a href="?k=pages&q=" style="color:#00A48B;" class="x">网页</a><span>   </span>
									<a href="?k=population&q="style="color:#00A48B;" class="x">人口</a><span>   </span>
									<!--
									<a href="http://203.130.112.13/tools/yb/" style="color:#00A48B;" class="x" target="_blank">实用信息</a><span>   </span>
									-->
									<a href="?k=typical&q=" style="color:#00A48B;" class="x">典型案例</a><span>   </span>
									<a style="color:black;" class="x"><b>实务手册</b></a><span>   </span>
									<a href="?k=lawsRegulations&q=" style="color:#00A48B;" class="x">法律法规</a><span>   </span>
									<!-- <a href="?k=video&q=" style="color:#00A48B;" class="x">视频</a><span>   </span>-->
									<a href="http://203.0.32.111/index_6989.html" style="color:#00A48B;" class="x" target="_blank">视频</a><span>   </span>
									
									<a href="?k=achievement&q=" style="color:#00A48B;" class="x">业绩档案</a><span>   </span>
									<a href="?k=paper&q=" style="color:#00A48B;" class="x">法院报</a><span>   </span>
									<a href="?k=alipay&q=" style="color:#00A48B;" class="x">支付宝</a><span>   </span>
									</div>
									<div id="more" style="display:hidden;">
									<!-- 
									<a href="?k=docs&q=" style="color:#00A48B;" class="x">案件(原)</a><span>   </span>
									-->
									
									<a href="?k=report&q=" style="color:#00A48B;" class="x">报表</a><span>   </span>
									<a href="?k=associated&q=" style="color:#00A48B;" class="x">关联案件</a><span>   </span>
									<!--
									<a href="http://203.0.64.206:8652/tools.aspx" style="color:#00A48B;" class="x" target="_blank">辅助工具</a><span>   </span>
									-->
									</div>
									 <div id="menubutton">
									<a href="#" style="color:#00A48B;" class="x" onclick="more();">更多&gt;&gt;</a>
									</div>
						<%		}else if("lawsRegulations".equals(k1)){%>
									<div id="menu">
									<!-- 
									<a href="?k=docs&q=" style="color:#00A48B;" class="x">案件</a><span>   </span>
									 -->
									<a href="?k=elscpws&q=" style="color:#00A48B;" class="x">案件</a><span>   </span>
									<a href="?k=pages&q=" style="color:#00A48B;" class="x">网页</a><span>   </span>
									<a href="?k=population&q="style="color:#00A48B;" class="x">人口</a><span>   </span>
									<!--
									<a href="http://203.130.112.13/tools/yb/" style="color:#00A48B;" class="x" target="_blank">实用信息</a><span>   </span>
									-->
									<a href="?k=typical&q=" style="color:#00A48B;" class="x">典型案例</a><span>   </span>
									<a href="?k=manual&q=" style="color:#00A48B;" class="x">实务手册</a><span>   </span>
									<a style="color:black;" class="x"><b>法律法规</b></a><span>   </span>
									<!-- <a href="?k=video&q=" style="color:#00A48B;" class="x">视频</a><span>   </span>-->
									<a href="http://203.0.32.111/index_6989.html" style="color:#00A48B;" class="x" target="_blank">视频</a><span>   </span>
									
									<a href="?k=achievement&q=" style="color:#00A48B;" class="x">业绩档案</a><span>   </span>
									<a href="?k=paper&q=" style="color:#00A48B;" class="x">法院报</a><span>   </span>
									<a href="?k=alipay&q=" style="color:#00A48B;" class="x">支付宝</a><span>   </span>
									</div>
									<div id="more" style="display:hidden;">
									<!-- 
									<a href="?k=docs&q=" style="color:#00A48B;" class="x">案件(原)</a><span>   </span>
									-->
									
									<a href="?k=report&q=" style="color:#00A48B;" class="x">报表</a><span>   </span>
									<a href="?k=associated&q=" style="color:#00A48B;" class="x">关联案件</a><span>   </span>
									<!--  
									<a href="http://203.0.64.206:8652/tools.aspx" style="color:#00A48B;" class="x" target="_blank">辅助工具</a><span>   </span>
									-->
									</div>
									 <div id="menubutton">
									<a href="#" style="color:#00A48B;" class="x" onclick="more();">更多&gt;&gt;</a>
									</div>
						<%		}else if("elscpws".equals(k1) || "".equals(k1) || null==k1){%>
									<div id="menu">
									<!-- 
									<a href="?k=docs&q=" style="color:#00A48B;" class="x">案件</a><span>   </span>
									 -->
									<a href="?k=elscpws&q=" style="color:black" class="x"><b>案件</b></a><span>   </span>
									<a href="?k=pages&q=" style="color:#00A48B;" class="x">网页</a><span>   </span>
									<a href="?k=population&q="style="color:#00A48B;" class="x">人口</a><span>   </span>
									<!--  
									<a href="http://203.130.112.13/tools/yb/" style="color:#00A48B;" class="x" target="_blank">实用信息</a><span>   </span>
									-->
									<a href="?k=typical&q=" style="color:#00A48B;" class="x">典型案例</a><span>   </span>
									<a href="?k=manual&q=" style="color:#00A48B;" class="x">实务手册</a><span>   </span>
									<a href="?k=lawsRegulations&q="  style="color:#00A48B;" class="x">法律法规</a><span>   </span>
									<!-- <a href="?k=video&q=" style="color:#00A48B;" class="x">视频</a><span>   </span>-->
									<a href="http://203.0.32.111/index_6989.html" style="color:#00A48B;" class="x" target="_blank">视频</a><span>   </span>
									<a href="?k=achievement&q=" style="color:#00A48B;" class="x">业绩档案</a><span>   </span>
									<a href="?k=paper&q=" style="color:#00A48B;" class="x">法院报</a><span>   </span>
									 <a href="?k=alipay&q=" style="color:#00A48B;" class="x">支付宝</a><span>   </span>
									</div>
									<div id="more" style="display:hidden;">
									<!-- 
									<a href="?k=docs&q=" style="color:#00A48B;" class="x">案件(原)</a><span>   </span>
									-->
									<a href="?k=report&q=" style="color:#00A48B;" class="x">报表</a><span>   </span>
									<a href="?k=associated&q=" style="color:#00A48B;" class="x">关联案件</a><span>   </span>
									<!-- 
									<a href="http://203.0.64.206:8652/tools.aspx" style="color:#00A48B;" class="x" target="_blank">辅助工具</a><span>   </span>
									 -->
									 </div>
									 <div id="menubutton">
									<a href="#" style="color:#00A48B;" class="x" onclick="more();">更多&gt;&gt;</a>
									</div>
						<%		}else if("paper".equals(k1)){%>
									<div id="menu">
									<!-- 
									<a href="?k=docs&q=" style="color:#00A48B;" class="x">案件</a><span>   </span>
									 -->
									<a href="?k=elscpws&q=" style="color:#00A48B;" class="x">案件</a><span>   </span>
									<a href="?k=pages&q=" style="color:#00A48B;" class="x">网页</a><span>   </span>
									<a href="?k=population&q="style="color:#00A48B;" class="x">人口</a><span>   </span>
									<!--  
									<a href="http://203.130.112.13/tools/yb/" style="color:#00A48B;" class="x" target="_blank">实用信息</a><span>   </span>
									-->
									<a href="?k=typical&q=" style="color:#00A48B;" class="x">典型案例</a><span>   </span>
									<a href="?k=manual&q=" style="color:#00A48B;" class="x">实务手册</a><span>   </span>
									<a href="?k=lawsRegulations&q="  style="color:#00A48B;" class="x">法律法规</a><span>   </span>
									<!-- <a href="?k=video&q=" style="color:#00A48B;" class="x">视频</a><span>   </span>-->
									<a href="http://203.0.32.111/index_6989.html" style="color:#00A48B;" class="x" target="_blank">视频</a><span>   </span>
									<a href="?k=achievement&q=" style="color:#00A48B;" class="x">业绩档案</a><span>   </span>
									<a style="color:black;" class="x"><b>法院报</b></a><span>   </span>
									 <a href="?k=alipay&q=" style="color:#00A48B;" class="x">支付宝</a><span>   </span>
									</div>
									<div id="more" style="display:hidden;">
									<!-- 
									<a href="?k=docs&q=" style="color:#00A48B;" class="x">案件(原)</a><span>   </span>
									-->
									<a href="?k=report&q=" style="color:#00A48B;" class="x">报表</a><span>   </span>
									<a href="?k=associated&q=" style="color:#00A48B;" class="x">关联案件</a><span>   </span>
									<!-- 
									<a href="http://203.0.64.206:8652/tools.aspx" style="color:#00A48B;" class="x" target="_blank">辅助工具</a><span>   </span>
									 -->
									 </div>
									 <div id="menubutton">
									<a href="#" style="color:#00A48B;" class="x" onclick="more();">更多&gt;&gt;</a>
									</div>
						<%		}else if("alipay".equals(k1)){%>
									<div id="menu">
									<!-- 
									<a href="?k=docs&q=" style="color:#00A48B;" class="x">案件</a><span>   </span>
									 -->
									<a href="?k=elscpws&q=" style="color:#00A48B;" class="x">案件</a><span>   </span>
									<a href="?k=pages&q=" style="color:#00A48B;" class="x">网页</a><span>   </span>
									<a href="?k=population&q="style="color:#00A48B;" class="x">人口</a><span>   </span>
									<!--  
									<a href="http://203.130.112.13/tools/yb/" style="color:#00A48B;" class="x" target="_blank">实用信息</a><span>   </span>
									-->
									<a href="?k=typical&q=" style="color:#00A48B;" class="x">典型案例</a><span>   </span>
									<a href="?k=manual&q=" style="color:#00A48B;" class="x">实务手册</a><span>   </span>
									<a href="?k=lawsRegulations&q="  style="color:#00A48B;" class="x">法律法规</a><span>   </span>
									<!-- <a href="?k=video&q=" style="color:#00A48B;" class="x">视频</a><span>   </span>-->
									<a href="http://203.0.32.111/index_6989.html" style="color:#00A48B;" class="x" target="_blank">视频</a><span>   </span>
									
									<a href="?k=achievement&q=" style="color:#00A48B;" class="x">业绩档案</a><span>   </span>
									<a href="?k=paper&q=" style="color:#00A48B;" class="x">法院报</a><span>   </span>
									<a style="color:black;" class="x"><b>支付宝</b></a><span>   </span>
									</div>
									<div id="more" style="display:hidden;">
									<a href="?k=report&q=" style="color:#00A48B;" class="x">报表</a><span>   </span>
									<a href="?k=associated&q=" style="color:#00A48B;" class="x">关联案件</a><span>   </span>
									<!-- 
									<a href="http://203.0.64.206:8652/tools.aspx" style="color:#00A48B;" class="x" target="_blank">辅助工具</a><span>   </span>
									 -->
									 </div>
									 <div id="menubutton">
									<a href="#" style="color:#00A48B;" class="x" onclick="more();">更多&gt;&gt;</a>
									</div>
						<%		}else if("report".equals(k1)){%>
									<div id="menu">
									<!-- 
									<a href="?k=docs&q=" style="color:#00A48B;" class="x">案件</a><span>   </span>
									 -->
									<a href="?k=elscpws&q=" style="color:#00A48B;" class="x">案件</a><span>   </span>
									<a href="?k=pages&q=" style="color:#00A48B;" class="x">网页</a><span>   </span>
									<a href="?k=population&q="style="color:#00A48B;" class="x">人口</a><span>   </span>
									<!--  
									<a href="http://203.130.112.13/tools/yb/" style="color:#00A48B;" class="x" target="_blank">实用信息</a><span>   </span>
									-->
									<a href="?k=typical&q=" style="color:#00A48B;" class="x">典型案例</a><span>   </span>
									<a href="?k=manual&q=" style="color:#00A48B;" class="x">实务手册</a><span>   </span>
									<a href="?k=lawsRegulations&q="  style="color:#00A48B;" class="x">法律法规</a><span>   </span>
									<!-- <a href="?k=video&q=" style="color:#00A48B;" class="x">视频</a><span>   </span>-->
									<a href="http://203.0.32.111/index_6989.html" style="color:#00A48B;" class="x" target="_blank">视频</a><span>   </span>
									
									<a href="?k=achievement&q=" style="color:#00A48B;" class="x">业绩档案</a><span>   </span>
									<a href="?k=paper&q=" style="color:#00A48B;" class="x">法院报</a><span>   </span>			
									<a href="?k=alipay&q=" style="color:#00A48B;" class="x">支付宝</a><span>   </span>
									<a style="color:black;" class="x"><b>报表</b></a><span>   </span>
									</div>
									<div id="more" style="display:hidden;">
									<a href="?k=associated&q=" style="color:#00A48B;" class="x">关联案件</a><span>   </span>
									<!-- 
									<a href="http://203.0.64.206:8652/tools.aspx" style="color:#00A48B;" class="x" target="_blank">辅助工具</a><span>   </span>
									 -->
									 </div>
									 <div id="menubutton">
									<a href="#" style="color:#00A48B;" class="x" onclick="more();">更多&gt;&gt;</a>
									</div>
						<%	}
						} %></div>
					<div class="searchDiv">
						<input type="text" name="q"  placeholder="  搜索内容" class="text" id="q" autocomplete=off>
	
						<input type="hidden" name="k" value='<%=request.getParameter("k")==null?"elscpws":request.getParameter("k")%>'>
						<!-- 
						<input type="radio" hidden name="k" value="docs"> 
						<input type="radio" hidden name="k" value="pages">  -->
						<input type="submit" value="搜索一下" class="button"> 
						<div id="qSuggestion" class="qSuggestion" onselectstart="return false;">
						</div>
					</div>
					<div class="linkView">
						<%	
							String q = request.getParameter("q");
							if(q!=null&&!"".equals(q)){
								q=new String(q.getBytes("ISO-8859-1"),"utf-8");
							}
							
							if(null == q || "".equals(q)){
						%>
						<div class="linkText">
							 <!-- <img alt="" src="">-->
						 	<span>链接
						 		<!--  <img alt="" src="">-->
						 	</span>
						</div>    				
						<div class="interlinkage" style="width: 650px;text-align: center;">
						
							<table style="width: 100%;">
								<tr style="text-align: left;">
									<td>
										<a href="http://203.130.112.13/tools/yb/" class="l" target="_blank">实用信息</a>
									</td>
									<td>
										<a href="http://203.0.64.206:8652/tools.aspx" class="l" target="_blank">辅助工具</a>	
									</td>
									<td>
										<a href="http://192.0.0.198/" class="l" target="_blank">图书馆</a>		
									</td>
									<td>
										<a href="./contacts.jsp" class="l" target="_blank">通讯录</a><br/>
									</td>
								</tr>
								<tr style="text-align: left;">
									<td>
										<a href="http://203.0.64.81:8008/sjgx/" class="l"  target="_blank">政法信息共享</a>
									</td>
									<td>
										<a href="http://203.0.64.80/" class="l" target="_blank">可视化管理</a>
									</td>
									<td>
										<a href="demo/evidence.jsp" class="l" target="_blank">图表</a>
									</td>
								</tr>
							</table>
						</div>
						<%} %>
					</div>
					<div align="left" class="declare">
						<%
						//	String q1 = request.getParameter("q");
							if(null == q || "".equals(q)){
						%>
						<div style="width:100%;"><br/>一、本平台可一键检索全省法院数据中心所有案件信息（包括裁判文书、审判信息、庭审视频、电子业绩档案、执行信息等，并对检索结果按案由自动分类）、全省人口信息数据，方便法官办案；<br/>	
						二、本平台每天会自动抓取全国法院内网网站信息，方便全省法院干警搜索全国法院内网网站资源；<br/>
						三、目前，本平台正积极对图片、软件、法律法规、业绩业绩档案等司法信息，以及地理、社保、税务、工商等外部数据进行分析整合，也将实现一键搜索。</div><br/>
				  		
				  		
				  		<p style="margin-left:200px;">Copyright @ 2014 版权所有 浙江省高级人民法院</p>
				  		<%} %>
					</div>
					<div class="floatTab">
						<div style="width:20px;float:left;font-size:20px;top:-4px;position:relative"><b>&gt;</b></div>
						访问次数：<%=allCount%>
					</div>
			</div>
			<div class="e">
					<%
						String k = request.getParameter("k");
						if("docs".equals(k)){%>
							<div class="quickSearch">
							&nbsp; 检索案由:<input type="text" style="width:195px" onkeyup="searchCaseTree(this);"/>
							</div>
							<ul class="en">
								
								<li class="elscpws"><a tabindex="-1" href="#">案件</a></li>
								<li class="pages"><a tabindex="-1" href="#">网页</a></li>
								<li class="population"><a tabindex="-1" href="#">人口</a></li>
								<!--
								<li class="practical"><a tabindex="-1" onclick="getQ();" href="#">实用信息</a></li> 
							    -->
								<li class="typical"><a tabindex="-1" href="#">典型案例</a></li>
								<li class="manual"><a tabindex="-1" href="#">实务手册</a></li>
								<li class="lawsRegulations"><a tabindex="-1" href="#">法律法规</a></li>
								<!-- 
								<li class="associated"><a tabindex="-1" href="#">关联案件</a></li>
								 -->
								<!-- <li class="video"><a tabindex="-1" href="#">视频</a></li>-->
								<li class="video"><a tabindex="-1" onclick="getVidio();" href="#">视频</a></li>
								<li class="achievement"><a tabindex="-1" href="#">业绩档案</a></li>
								<li class="paper"><a tabindex="-1" href="#">法院报</a></li>
								<!-- 
								<li class="report"><a tabindex="-1" href="#">报表</a></li>
								 -->
								<li class="alipay"><a tabindex="-1" href="#">支付宝</a></li>
								<li class="docs selected"><a tabindex="-1" href="#" >案件(原)</a></li>
								<!--
								<li class="assisttool"><a tabindex="-1" onclick="getQ2();" href="#">辅助工具</a></li>
								-->
								<!-- 
								<li class="more"><a tabindex="-1" href="#">更多&gt;&gt;</a></li>
								 -->
							</ul>
						<%}else{%>
							<div class="quickSearch">
								<%if("elscpws".equals(k)){ %>
									&nbsp; 检索案由:<input type="text" style="width:195px" onkeyup="searchCaseTree(this);"/>
								<%} %>
							</div>
							<ul class="en" style="margin-left: 290px;">
								<!-- 
								<li class="docs"><a tabindex="-1" href="#">案件</a></li>
								 -->
								<li class="elscpws"><a tabindex="-1" href="#">案件</a></li>
								<li class="pages"><a tabindex="-1" href="#">网页</a></li>
								<li class="population"><a tabindex="-1" href="#">人口</a></li>
								<!--
								<li class="practical"><a tabindex="-1"  onclick="getQ();" href="#">实用信息</a></li>
								-->
								<li class="typical"><a tabindex="-1" href="#">典型案例</a></li>
								<li class="manual"><a tabindex="-1" href="#">实务手册</a></li>
								<li class="lawsRegulations"><a tabindex="-1" href="#">法律法规</a></li>
								<!-- 
								<li class="associated"><a tabindex="-1" href="#">关联案件</a></li>
								 -->
								<!-- <li class="video"><a tabindex="-1" href="#">视频</a></li>-->
								<li class="video"><a tabindex="-1" onclick="getVidio();" href="#">视频</a></li>
								<li class="achievement"><a tabindex="-1" href="#">业绩档案</a></li>
								<li class="paper"><a tabindex="-1" href="#">法院报</a></li>
								<li class="alipay"><a tabindex="-1" href="#">支付宝</a></li>
								
								<li class="report"><a tabindex="-1" href="#">报表</a></li>
								<!-- 
								<li class="docs"><a tabindex="-1" href="#">案件(原)</a></li>
								 -->
								<!--
								<li class="assisttool"><a tabindex="-1" onclick="getQ2();" href="#">辅助工具</a></li>
								-->
								
								<!-- 
								<li class="more"><a tabindex="-1" href="#">更多&gt;&gt;</a></li>
								 -->
							</ul>
						<%}
					%>
			</div>
		</form></div>
		
  	</div>
	
	<div class="sr">
		<div class="sr-menu"></div>
		<div class="sr-page"></div>
		<div class="sr-navi" style="float:right;"></div>
	</div>

	<div class="ft" style="height: 50px;text-indent: -1px;">
		<p>Copyright @ 2014 版权所有 浙江省高级人民法院</p>
	</div>
	
	<div class="lg">
		<a href="<%=request.getContextPath()%>" title="<%=title%>"><span><%=title%></span></a>
	</div>
	<div id="detail" style="visibility:hidden;position:fixed ;left:20%;top:20%;height: 60%;width: 60%;z-index: 9999;"></div>
<script>
	var context="<%=context%>";
</script>
<script type="text/javascript" src="js/jquery-1.11.1.min.js?_=<%=System.currentTimeMillis() %>"></script>
<script type="text/javascript" src="js/base64.js?_=<%=System.currentTimeMillis() %>"></script>
<script type="text/javascript" src="js/searchCaseTree.js?_=<%=System.currentTimeMillis() %>"></script>
<script type="text/javascript" src="js/search.js?_=<%=System.currentTimeMillis() %>"></script>
<script type="text/javascript" src="js/querySuggestion.js?_=<%=System.currentTimeMillis() %>"></script>
<script type="text/javascript" src="jslib/json/json2.js? =<%=System.currentTimeMillis() %>"></script>
<script type="text/javascript" src="js/menuItem.js?_=<%=System.currentTimeMillis() %>"></script>
<script>
	function more(){
		$("#more").fadeToggle();
		$("#menubutton").toggle();
	}
	
	function detail(id){
		$("#detail").html("<iframe style='height:100%;width:100%;background-color:#fff;border-color: #00A48B;' src='ElsSearchPaperDetail?id="+id+"'></iframe>");
		$("#detail").css("visibility","visible");
	}
	//*报表模块
	//打开报表方法
	function openReport(param,href){
		var qString='<%=q%>';
		var data={"param":param,"href":href,"qString":qString};
		$.ajax({
			'url':context+'/OpenReport',
			'dataType':'json',
			'data':data,
			'method':'post'
		}).done(function(resp){
			window.open(resp.href);	//打开报表
		});
	}
	
	
	
	
</script>
</body></html>
